package com.test.quartz;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by wangyg 
 * on 2017/7/9 19:55
 */
public class Utils {
	private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

	public static void printDate() {
		String date = sdf.format(new Date());
		System.out.println("当前时间为：" + date);
	}
}
